//
//  Person.m
//  lzl-4-7
//
//  Created by 刘振霖 on 16/4/7.
//  Copyright © 2016年 刘振霖. All rights reserved.
//

#import "Cat.h"

@implementation Cat

-(void)eat
{
    NSLog(@"Cat %@ eat!",self.name);
}
-(void)sleep
{
    NSLog(@"Cat %@ sleep",self.name);
}
-(void) talk:(NSString *)text
{
    NSLog(@"Cat %@ say I am going to eat you :%@",self.name,text);
}

@end
